package com.sensetime.jv.vo;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.util.Set;

@Data
public class RoleSaveReqVO {
    private Integer id;
    @NotBlank(message = "角色名不能为空")
    private String roleName;
    @NotEmpty(message = "权限不能为空")
    private Set<Integer> permissionIds;   // 批量分配权限
}

